#ifndef PARAMETERS_H_
#define PARAMETERS_H_



#include <QDebug>

//#define DEBUG_MODE
#ifdef TIME_DEBUG
    #include <QTime>
    #define TRACE_FUNC_ENTRY  QTime startTraceDebugTime = QTime::currentTime(); qDebug()<< startTraceDebugTime.toString("hh:mm:ss.zzz ") << __PRETTY_FUNCTION__ << " >" ;
    #define TRACE_FUNC_EXIT QTime endTraceDebugTime = QTime::currentTime(); qDebug()<< endTraceDebugTime.toString("hh:mm:ss.zzz ") << "(" << startTraceDebugTime.msecsTo(endTraceDebugTime) << ")" << __PRETTY_FUNCTION__ << "<";
    #define TRACE_FUNC  qDebug()<< __PRETTY_FUNCTION__ ;
#elif DEBUG_MODE
    #define TRACE_FUNC_ENTRY  qDebug()<< __PRETTY_FUNCTION__ << ">";
    #define TRACE_FUNC_EXIT  qDebug()<< __PRETTY_FUNCTION__ << "<";
    #define TRACE_FUNC  qDebug()<< __PRETTY_FUNCTION__ ;
#else
    #define TRACE_FUNC_ENTRY
    #define TRACE_FUNC_EXIT
    #define TRACE_FUNC
#endif

//<< __FILE__ << __LINE__

#endif /*PARAMETERS_H_*/
